<?php

namespace frontend\modules\Dao;

class BaseDao
{



    /**
     * desc:检测数据
     * admin
     * email:
     * @param array $params
     * @param string $field
     * @return bool
     */
    public static function checkIsHasField($params = [],$field = ''){
        return isset($params[$field]) && $params[$field] !== '' && !is_null($params[$field]);
    }
}